﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameLogic
{
    internal class LiveAmmunitionStrategy : FireStrategy
    {
        public override void Fire(BEPUutilities.Vector3 weaponPos)
        {
            base.Fire(weaponPos);
            var bullet = BulletModule.Instance.CreateBullet(m_WeaponControl.WeaponData, weaponPos, m_SlotControl.GetShipInfluence());
            bullet.SetSpecificRule(m_SlotControl.GetShipCollider(), BEPUphysics.CollisionRuleManagement.CollisionRule.NoBroadPhase);
        }
    }
}
